<extend name="Public/base"/>

<block name="body">
	<!-- 标题栏 -->
	<div class="main-title">
		<h2>{$year}-{$month} {$user_name} 考勤详情</h2>
	</div>

	<!-- 数据列表 -->
	<div class="data-table">
		<table class="table table-hover">
			<tr>
				<td>周日</td>
				<td>周一</td>
				<td>周二</td>
				<td>周三</td>
				<td>周四</td>
				<td>周五</td>
				<td>周六</td>
			</tr>
			<volist name="table" id="vo">
				<tr>
					<volist name="vo" id="item">
						<td>
							<gt name="item.text" value="0">
								{$item.text} <br>
								上班:<gt name="item.on" value="0">
								{$item.on|date="H:i",###}<else/>
								<span style="color: red">缺</span></gt><br/>
								下班:<gt name="item.off" value="0">
								{$item.off|date="H:i",###}<else/>
								<span style="color: red">缺</span></gt>

							</gt>

						</td>
					</volist>

				</tr>
			</volist>

		</table>
        
	</div>
	<!-- 分页 -->
	<div class="page">{$_page}</div>
	<!-- /分页 -->

</block>
<block name="script">
<script type="text/javascript">
$(function(){
	$("#action_add").click(function(){
		window.location.href = $(this).attr('url');
	})
})
</script>
</block>
